import axios from '@/utils/request'

/*
 * 系统登录模块
 */


// 登录
export const login = (params) => {
  return axios({
    url: 'login',
    method: 'post',
    data: params
  })
}


// 登出
export const logout = () => {
  return axios({
    url: 'logout',
    method: 'get'
  })
}
